using System;
using System.ComponentModel.DataAnnotations;

namespace WMSSystem.Application.Contracts.Workflow.Dto
{
    /// <summary>
    /// 创建工作流实例DTO
    /// </summary>
    public class CreateWorkflowInstanceDto
    {
        /// <summary>
        /// 业务类型
        /// </summary>
        [Required]
        public string BusinessType { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        [Required]
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 工作流定义ID
        /// </summary>
        [Required]
        public string WorkflowDefinitionId { get; set; }

        /// <summary>
        /// 工作流数据
        /// </summary>
        public string WorkflowData { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
} 